package com.zl.gmadmin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zl.gmadmin.entity.ActTestDemo;
import com.zl.gmadmin.mapper.ActTestDemoMapper;
import com.zl.gmadmin.payload.WorkflowQueryCriteria;
import com.zl.gmadmin.service.WorkflowDemoService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ZhangLiang
 * @Date: 2021/09/17/15:41
 * @Description:
 */
@Service
public class WorkflowDemoServiceImpl extends ServiceImpl<ActTestDemoMapper,ActTestDemo> implements WorkflowDemoService {

    private final ActTestDemoMapper mapper;

    public WorkflowDemoServiceImpl(ActTestDemoMapper mapper) {
        this.mapper = mapper;
    }

    @Override
    public Map<String, Object> selectPage(WorkflowQueryCriteria criteria, Page<ActTestDemo> page) {
        QueryWrapper<ActTestDemo> queryWrapper=new QueryWrapper<>();
       mapper.selectPage(page,queryWrapper);
        return null;
    }
}
